<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
	<ul>
		<c:forEach var="product" items="${productList}">
			<li><a href="javascript:;" onclick="toProduct(${product.pid})">
					<img src="${pageContext.request.contextPath}/${product.image}"
					width="170" height="170" style="display: inline-block;"> <span
					style='color: green'>${product.pname}</span> <span class="price">
						商城价： ￥${product.shop_price} </span>
			</a></li>
		</c:forEach>
	</ul>
</body>
</html>